﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="EditSourceFiles.aspx.cs"
    Inherits="XMK.Tadong.Web.WebFileExplorer.DataSubmit.EditSourceFiles" %>

<%@ Import Namespace="HU8.Web.FileExplorer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title><%: lang.Get("SPACE_Data_Submit")%>数据提交</title>
    <script type="text/javascript" src="../Scripts/jquery-1.6.4.min.js"></script>
    <script src="../easyui/jquery.easyui.min.js" type="text/javascript"></script>
    <script type="text/javascript" src="../Scripts/jquery-ui-1.8.16.custom.min.js"></script>
    <%--<script type="text/javascript" src="../weblib/jquery/jquery-1.8.0.min.js"></script>--%>
    <!-- Wijmo dialog -->
    <link type="text/css" rel="Stylesheet" href="../Scripts/wijmo-dialog/ui-themes/aristo/jquery-wijmo.css" />
    <link type="text/css" rel="Stylesheet" href="../Scripts/wijmo-dialog/ui-themes/wijmo/jquery.wijmo.wijdialog.css" />
    <script type="text/javascript" src="../Scripts/wijmo-dialog/jquery.wijmo-open.1.4.1.min.js"></script>
    <!-- HU8 Libs -->
    <script type="text/javascript" src="../Scripts/hu8.libs.js"></script>
    <!-- HU8 Box -->
    <script type="text/javascript" src="../Scripts/hu8-box/languages/zh.js"></script>
    <script type="text/javascript" src="../Scripts/hu8-box/hu8.box.js"></script>
    <link href="../Styles/mycss.css" rel="stylesheet" type="text/css" />
    <script src="../Scripts/changerows.js" type="text/javascript"></script>
    <link href="../../weblib/jqueryui-autocomplete/themes/ui-lightness/jquery.ui.all.css"
        rel="stylesheet" type="text/css" />
    <link href="../../weblib/jquery.easyui/themes/default/easyui.css" rel="stylesheet"
        type="text/css" />
    <link href="../../weblib/jquery.easyui/themes/icon.css" rel="stylesheet" type="text/css" />
    <script src="../../webjs/core/config.js" type="text/javascript"></script>
    <script src="../../weblib/jquery/jquery.adaptor.js" type="text/javascript"></script>
    <%-- <script src="../../webjs/core/config.js" type="text/javascript"></script>
    <script src="../../weblib/jquery/jquery-1.8.0.min.js" type="text/javascript"></script>
    <script src="../../weblib/jquery/jquery.adaptor.js" type="text/javascript"></script>
    <script type="text/javascript" src="../../weblib/jquery.easyui/jquery.easyui.min.js"></script>
    <script src="../../weblib/jqueryui-autocomplete/ui/jquery.ui.widget.js" type="text/javascript"></script>
    <script src="../../weblib/jqueryui-autocomplete/ui/jquery.ui.autocomplete.js" type="text/javascript"></script>
    <script src="../../weblib/jqueryui-autocomplete/ui/jquery.ui.core.js" type="text/javascript"></script>
    <script src="../../weblib/jqueryui-autocomplete/ui/jquery.ui.menu.js" type="text/javascript"></script>
    <script src="../../weblib/jqueryui-autocomplete/ui/jquery.ui.position.js" type="text/javascript"></script>--%>
    <style type="text/css">
        .box
        {
            width: 100%;
            position: relative;
        }
        .a, .b
        {
            position: absolute;
            top: 0px;
            left: 0px;
        }
        .a
        {
            z-index: 2;
        }
        .b
        {
            z-index: 1;
        }
    </style>
    <script src="../Scripts/TargetBizTree.js" type="text/javascript"></script>
    <link rel="stylesheet" type="text/css" href="calendar/calendar.css" />
    <link href="../Styles/mycss.css" rel="stylesheet" type="text/css" />
    <script language="javascript" type="text/javascript" src="../My97DatePicker/WdatePicker.js"></script>
    <link href="../../weblib/skins/layout.css?ver=1" rel="stylesheet" type="text/css" />
    <link href="../../weblib/skins/sexybuttons.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
        function editZYXX(type) {
            //alert(type);
            var file_id = document.getElementById("hidFile_ID").value;
            //alert(file_id);
            var spacetype = document.getElementById("hidspacetype").value;
            //alert(spacetype);
            box.open_window(<%: lang.Get("SPACE_edit_abstract")%>"编辑摘要信息", "EditInfo.aspx?Type=" + type + "&File_ID=" + file_id + "&spacetype=" + spacetype + "", 800, 270, true);
        }
        function test() {
            alert("sss");
        }
    </script>
    <style type="text/css">
        td strong
        {
            font-weight: normal;
            float: left;
            width: 89px;
            text-align: right;
            margin-right: 22px;
            line-height: 29px;
            font-size: 14px;
            color: #888;
        }
        .search_input
        {
            position: relative;
        }
        
        .s_ipt_wr
        {
            width: 360px;
            height: 30px;
            display: inline-block;
            margin-right: 5px;
            background-position: 0 -96px;
            border: 1px solid #b6b6b6;
            border-color: #7b7b7b #b6b6b6 #b6b6b6 #7b7b7b;
            vertical-align: top;
        }
        
        .s_ipt
        {
            width: 350px;
            height: 22px;
            font: 16px/22px arial;
            margin: 5px 0 0 7px;
            padding: 0;
            background: #fff;
            border: 0;
            outline: 0;
            -webkit-appearance: none;
        }
        
        .borderInput
        {
            border: 1px solid #b6b6b6;
            border-color: #7b7b7b #b6b6b6 #b6b6b6 #7b7b7b;
        }
        
        .borderInput .meHeight
        {
            height: 25px;
        }
        
        td
        {
            height: 40px;
        }
    </style>
    <script type="text/javascript">
        window.onload = function ()//用window的onload事件，窗体加载完毕的时候
        {
            var d = new Date();
            var moth = d.getMonth() + 1;
            if (moth < 10) {
                moth = "0" + moth;
            }
            var da = d.getDate();
            if (da < 10) {
                da = "0" + da;
            }
            var str = d.getFullYear() + "-" + (moth) + "-" + da;
            document.getElementById("paydate").value = str;
        }
    </script>
</head>
<body class="background: #fafafa; ">
    <form id="form1" runat="server">
    <table width="100%" style="margin: 5px 0;">
        <tr>
            <td class="weizhi_1">
                <img src="../jqueryFileTree/images/directory_.png" width="9" height="13">&nbsp;当前位置：<b>编辑源数据</b>
                <asp:HiddenField ID="hidFile_ID" runat="server" />
                <asp:HiddenField ID="hidspacetype" runat="server" />
                <asp:HiddenField ID="hidZYXX" runat="server" />
                <asp:HiddenField ID="hidGJC" runat="server" />
            </td>
        </tr>
    </table>
    <div style="width: 100%; height: 400px; border: solid 1px; background-color: White;
        font-size: 12px;">
        <div style="float: left; width: 450px; height:100%">
            <table style="float: left;" width="100%" align="center" bgcolor="#FFFFFF" id="table1"
                border="0">
                <tr>
                    <td align="right">
                        <strong><%: lang.Get("SPACE_file_name")%>文档名称：</strong>
                    </td>
                    <td align="left">
                        <div class="search_input">
                            <%-- <asp:TextBox ID="txtWDMC" runat="server" CssClass="borderInput" Enabled="false"></asp:TextBox>--%>
                            <asp:Label ID="txtWDMC" runat="server"></asp:Label>
                        </div>
                    </td>
                </tr>
                <tr id="div" runat="server">
                    <td align="right">
                        <strong><%: lang.Get("SPACE_item_type")%>文档格式：</strong>
                    </td>
                    <td align="left">
                        <asp:DropDownList ID="ddlstWDGS" runat="server" Enabled="false">
                            <asp:ListItem Value=""> 请选择</asp:ListItem>
                            <asp:ListItem Value="1">Picture</asp:ListItem>
                            <asp:ListItem Value="2">Word</asp:ListItem>
                            <asp:ListItem Value="3">Excel</asp:ListItem>
                            <asp:ListItem Value="4">Pdf</asp:ListItem>
                            <asp:ListItem Value="5">Txt</asp:ListItem>
                            <asp:ListItem Value="6">Ppt</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td valign="top" align="right" nowrap>
                        <strong><%: lang.Get("SPACE_abstract")%>摘要信息：</strong>
                    </td>
                    <td valign="top" align="left">
                        <%-- <asp:Label ID="lblZYXX" runat="server" ></asp:Label>--%>
                        <asp:TextBox ID="lblZYXX" runat="server" Enabled="false"></asp:TextBox>&nbsp;&nbsp;&nbsp;
                        <input type="button" value="<%: lang.Get("SPACE_edit_abstract")%>编辑摘要信息" id="btnEditZYXX" class="input1" onclick="editZYXX('ZYXX');" />
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <strong><%: lang.Get("SPACE_FormationTime")%>形成时间：</strong>
                    </td>
                    <td align="left">
                        <input name="paydate" id="paydate" value="" type="text" class="borderInput" onclick="WdatePicker()"
                            runat="server" />
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <strong><%: lang.Get("SPACE_language")%>语种：</strong>
                    </td>
                    <td align="left">
                        <asp:DropDownList ID="ddlstLANG_TYPE" runat="server" AppendDataBoundItems="true"
                            DataTextField="CST_DESC" DataValueField="CST_NUM">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <strong><%: lang.Get("SPACE_version_number")%>版本：</strong>
                    </td>
                    <td align="left">
                        <asp:TextBox ID="txtBB" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <strong><%: lang.Get("SPACE_UploadTime")%>上传时间：</strong>
                    </td>
                    <td align="left">
                        <asp:Label ID="lblFILE_CRT_DATE" runat="server"></asp:Label>
                    </td>
                </tr>
            </table>
        </div>
        <div style="border-left: 1px dotted; width: 450px; margin-left: 488px; height:100%">
            <table border="0" width="100%" cellspacing="0" cellpadding="0">
                <tr>
                    <td align="right">
                        <strong><%: lang.Get("SPACE_authors")%>作者：</strong>
                    </td>
                    <td class="celltxt0 bkys_2" align="left">
                        <asp:TextBox ID="txtZZ" runat="server" CssClass="borderInput"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <strong><%: lang.Get("SPACE_Key_word")%>关键词：</strong>
                    </td>
                    <td>
                        <%--<asp:Label ID="lblGJC" runat="server"></asp:Label>--%>
                        <asp:TextBox ID="lblGJC" runat="server" Enabled="false"></asp:TextBox>
                        &nbsp;&nbsp;&nbsp;
                        <input type="button" value="<%: lang.Get("SPACE_FormationTime")%>编辑关键词" id="Button1" class="input1" onclick="editZYXX('GJC');" />
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <strong><%: lang.Get("SPACE_Business")%>业务：</strong>
                    </td>
                    <td>
                        <asp:TextBox ID="txtYWDX" runat="server" CssClass="borderInput"></asp:TextBox>
                        <input type="button" id="btnYWDX" value="<%: lang.Get("SPACE_Choice")%>选择" onfocus="showBizTree();" />
                        <input type="hidden" id="bizValue" runat="server" /><br />
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="<%: lang.Get("SPACE_FormationTime")%>业务不能为空"
                            ControlToValidate="txtYWDX"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td>
                        <strong><%: lang.Get("SPACE_Target")%>目标：</strong>
                    </td>
                    <td>
                        <asp:TextBox ID="txtMB" runat="server" CssClass="borderInput"></asp:TextBox>
                        <input type="button" id="btnMB" value="<%: lang.Get("SPACE_Choice")%>选择" onfocus="showTargetTree();" />
                        <input type="hidden" id="targetValue" runat="server" /><br />
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="<%: lang.Get("SPACE_target_can_not_be_empty")%>目标不能为空"
                            ControlToValidate="txtMB"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td>
                        <strong><%: lang.Get("FILE_SIZE")%>文件大小：</strong>
                    </td>
                    <td>
                        <%-- <asp:TextBox ID="txtFILE_SIZE" runat="server" CssClass="borderInput" ReadOnly="true"></asp:TextBox>--%>
                        <asp:Label ID="txtFILE_SIZE" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <strong><%: lang.Get("SPACE_SecurityClassification")%>密级：</strong>
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlstSECRET_LVL" runat="server" AppendDataBoundItems="true"
                            DataTextField="CST_DESC" DataValueField="CST_NUM">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td>
                        <strong>
                            <asp:Label ID="lblteamname" runat="server"><%: lang.Get("SPACE_SourceResearchGrou")%></asp:Label>&nbsp;</strong>
                    </td>
                    <td>
                        <asp:Label ID="lblTeam" runat="server"></asp:Label>&nbsp;
                    </td>
                </tr>
            </table>
        </div>
    </div>
   <%-- <div style="width: 100%; height: 30px; text-align: Right; margin-top: 20px;">
        <input type="button" id="button1" value="ces" runat="server" visible="false" onclick="return button1_onclick()" />
        <div class="box">
            <button type="button" class="a" runat="Server" onserverclick="btnSunmit_Click" id="btnDownloadPDF">
                <span><span><span class="disk">确定</span></span></span>
            </button>
           <%-- <asp:Button ID="button1" runat="server" OnClick="button1_Click" CssClass="b" />
        </div>
    </div>--%>
    <div style="width: 100%; height: 30px; text-align: Right; margin-top:20px; ">
            
            <button type="button" class="sexybutton" runat="Server" onserverclick="btnSunmit_Click" id="btnDownloadPDF">
                <span><span><span class="disk"><%: lang.Get("SPACE_ok")%>确定</span></span></span>
            </button>
    </div>
    <asp:Label ID="lblError" ForeColor="Red" Font-Size="12px" runat="server"></asp:Label>
    </form>
</body>
</html>
